package com.ruoyi.backend.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.backend.pojo.Field;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class FieldSurveyDataVO {

    private Integer id;

    private Integer investigateId;

    @DateTimeFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss")
    private LocalDateTime investigateTime;

    private  Double latitude;

    private  Double longitude;

    private  Double height;

    private String investigateValue;

    private Field fieldSurvey;
}
